# coding = utf8
from scipy.special import comb, perm
print((comb(6,1)*comb(5,1)*comb(4,2)+comb(6,1)*comb(5,2)*comb(4,1)+comb(6,2)*comb(5,1)*comb(4,1))/comb(15,4))
